package test.com.java.shiyan;

import main.com.java.shiyan.MaxSubSumOfSequence;
import org.junit.Test;

public class test {

    public MaxSubSumOfSequence work=new MaxSubSumOfSequence();

    @Test
    public void testWorkCase1(){
        System.out.println(work.maxArray("1,3,5,7"));
    }
    @Test
    public void testWorkCase2(){
        System.out.println(work.maxArray("a,b,c,d"));
    }
    @Test
    public void testWorkCase3(){
        System.out.println(work.maxArray("a,b,c,"));
    }
    @Test
    public void testWorkCase4(){
        System.out.println(work.maxArray("1,2,3,d"));
    }
    @Test
    public void testWorkCase5(){
        System.out.println(work.maxArray("1,6,3,5"));
    }
}
